package core;

import java.util.List;

public class TurnUtil {

	
	
	
	
	public static int getGoldIncome(Player p){
		int goldIncome = 0;
		List<Tile> ownedTiles = MapUtil.getTiles(p);
		for (Tile t : ownedTiles) {
			 goldIncome += t.getGoldIncome();
		}
		return goldIncome;
		
	}
	
	public static int getManaIncome(Player p){
		int manaIncome = 0;
		List<Tile> ownedTiles = MapUtil.getTiles(p);
		for (Tile t : ownedTiles) {
			manaIncome += t.getManaIncome();
	}
		return manaIncome;
	}
}
